#!/usr/bin/python
# -*- coding:utf-8 -*-
from poium import Page, NewPageElement


class BaiduPage(Page):
    search_input = NewPageElement(id_="kw", describe="搜索框")
    search_button = NewPageElement(id_="su", describe="搜索按钮")
    settings = NewPageElement(xpath='//*[@id="s-usersetting-top"]', describe="设置下拉框")
    search_setting = NewPageElement(css=".setpref", describe="搜索设置选项")
    save_setting = NewPageElement(css=".prefpanelgo", describe="保存设置")
